import bar from './bar.js';
var b=new bar();
b.name='<br/>nthis is bar 2, from index1.js<br/>';
document.getElementById('div').innerHTML+=b.name;